# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sndio
pkgver=1.7.0
pkgrel=0
pkgdesc="Small audio and MIDI framework part of the OpenBSD project"
url="http://www.sndio.org/"
arch="all"
license="ISC"
makedepends="alsa-lib-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://www.sndio.org/sndio-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr
	make
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="f9db7bad5f30e8790488c4d20198c8a5a51f04f94e4b1067eadd7fe0fcc6f6ced3250173a627439d661dcf6faabc7bc4786b30af013788a5c88d972f1c9dc1f8  sndio-1.7.0.tar.gz"
